<template>
  <div>
    <div class="across" @click="handleClick">
      <div class="label">{{ labelText }}</div>
      <div class="connect">{{ connectText }}</div>
      <div class="iocn">
        <span class="iconfont iconjiantou1"></span>
      </div>
      <!-- 1111 -->
    </div>
  </div>
</template>

<script>
export default {
  props: ["labelText", "connectText"],
  methods: {
    handleClick() {
      this.$emit("acrossClick");
    },
  },
};
</script>

<style lang="less" scoped>
.across {
  display: flex;
  padding: 18px 16px 18px 0;
  margin-left: 16px;
  border-bottom: 1px solid #e4e4e4;
  background-image: url("../assets/personal.jpg");
  .label {
    font-size: 14px;
    color: #333;
  }
  .connect {
    font-size: 14px;
    color: #999;
    flex: 1;
    text-align: right;
    margin-right: 5px;
  }
  .iocn {
    margin-top: 1.5px;
  }
}
</style>